@layout("/common/_container.html"){
<style>
    input {
        border: 1px solid #a9a9a9;
    }
    input, select {
        border-radius: 3px;
    }
    .ul_li > li{
        float: left;
        margin-right: 3%;
    }
    .ul_li label {
        padding-right: 9px;
    }
    .record_box ul {
        padding: 0;
        margin: 0;
    }
    .btn_box button {
        margin: 0;
        color: white;
        background: #2eadd0;
        padding: 6px 30px;
        font-size: 1em;
    }
    .bigSize {
        font-size: 1.2em;
    }
    .selectBox {
        width: 205px;
        height: 39px
    }
</style>
<div class="ibox float-e-margins ">
    <div class="ibox-content record_box">
        <div style="display: none">
            <input type="hidden" id="id" value="">
            <input type="hidden" id="tcNameValue" value="">
            <input type="hidden" id="outpatientNameValue" value="">
        </div>
        <div class="row bigSize">
            <div class="col-sm-12">
                <div class="col-sm-10">
                    <ul class="ul_li clearfix">
                        <li>
                            <label>门诊</label>
                            <select id="outpatientName" name="outpatientName" class="selectBox" onchange="ReturnVisit.search()">
                            </select>
                        </li>
                        <li>
                            <label>消费状态</label>
                            <select id="consumptionStatus" name="consumptionStatus" class="selectBox" onchange="ReturnVisit.search()">
                                <option value="">全部</option>
                                <option value="未消费">未消费</option>
                                <option value="只交定金">只交定金</option>
                                <option value="未完成">未完成</option>
                                <option value="完成">完成</option>
                            </select>
                        </li>
                        <li>
                            <label>跟踪状态</label>
                            <select id="followStatus" name="followStatus" class="selectBox" onchange="ReturnVisit.search()">
                                <option value="">全部</option>
                                <option value="跟踪中">跟踪中</option>
                                <option value="跟踪完成">跟踪完成</option>
                                <option value="跟踪结束">跟踪结束</option>
                            </select>
                        </li>
                        <li>
                            <label>TC</label>
                            <select class="selectBox" id="tcName" name="tcName" onchange="ReturnVisit.search()" ></select>
                        </li>
                    </ul>
                </div>
                <div class="col-sm-2">
                    <div style="width: 288px;height: 39px;border: 1px solid #cccccc;border-radius: 3px">
                    <span class="glyphicon glyphicon-search" style="padding: 7px 0px 0px 10px;"></span>
                    <input type="text" id="sreach" placeholder="姓名/电话/微信/预约号"
                           style="width: 238px;height: 35px;border: none;float: right;outline:none;margin-top: 1px"
                           onchange="ReturnVisit.search()">
                </div>
                </div>
            </div>
        </div>
        <div class="row bigSize" style="margin: 1% 0;">
            <div class="col-sm-4">
                <label>预约时间</label>
                <input type="text" id="startTime" style="width: 186px;height: 39px;padding-left: 5px;"
                       onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss'})">
                <span>-</span>
                <input type="text" id="endTime" style="width: 186px;height: 39px;padding-left: 5px;"
                       onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss'})">
            </div>
            <div class="col-sm-5"></div>
            <div class="col-sm-3 btn_box">
                <div style="float: right">
                    <button type="button" class="btn" onclick="ReturnVisit.resetSearch()">重置</button>
                    <button type="button" class="btn" onclick="ReturnVisit.todaySearch()">今日预约</button>
                    <button type="button" class="btn" onclick="ReturnVisit.tomorrowSearch()">明日预约</button>
                </div>
            </div>
        </div>
        <div class="row bigSize">
            <div class="col-sm-12" style="background:#3b97d3;height: 46px;"></div>
        </div>

        <#table id="ReturnVisitTable"/>
    </div>
</div>
<script src="${ctxPath}/static/modular/returnVisit/returnVisit.js"></script>
@}